<?php
/**
 * Data Engine Interface
 * @author	zhangjian<smile_for_life@sina.cn>
 * @date	2014-01-14
 */
 interface IEngine
 {
	public function init($config = array());
	
	public function query($options = array());
	
	public function insert($data = array(), $options = array());
	
	public function update($data = array(), $options =array());
	
	public function delete($options = array());
	
 }